package top.wilbert.collegelink.user.vo;/**
 * @author augus
 * @create 2023-02-15-19:59
 */

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * @author Augus
 * @ClassName:CompanyRegisterVo
 * @date 2023/2/15 19:59
 * @Version 1.0
 **/
@Data
public class CompanyRegisterVo {

    private String accountName;

    @NotEmpty(message = "手机号不能为空")
    @Pattern(regexp = "^[1]([3-9])[0-9]{9}$", message = "手机号格式不正确")
    private String phone;
}
